﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WorkedTime.Cnsl.BusinessEntites
{
    public class WorkingPeriod
    {
        public DateTime Start { private get; set; }

        public DateTime End { private get; set; }
        
        public TimeSpan Duration
        {
            get
            {
                return this.End - this.Start;
            }
        }

        public string JobDone { get; set; }
    }
}
